/**
 * @File   : reader.module.scss
 * @Author : dtysky (dtysky@outlook.com)
 * @Link   : dtysky.moe
 * @Date   : 2022/9/19 00:22:21
 */
.loading {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}

.reader {
  position: relative;
  width: 100%;
  height: 100%;
}

.top {
  position: relative;
  width: 100%;
  height: 3rem;
}

.bottom {
  position: relative;
  height: calc(100% - 3rem - 2px);
}

.menu {
  height: 100%;
  margin-left: 1rem;
  display: flex;
  justify-content: start;
  align-items: center;

  .hana-icon {
    font-size: 1.4rem;
  }
}

.menuItem {
  margin: 0 0.6rem;
  font-size: 1.5rem !important;
}

.indexesBg {
  position: absolute;
  z-index: 9;
  width: 100%;
  height: 100%;
  background: rgba(#aaa, 0.6);
}

.indexesShow {
  display: block;
}

.indexesTop {
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 1rem;
  font-size: 1.2rem;
  line-height: 1.4rem;
}

.index {
  font-size: 1rem;
  line-height: 1.4rem;
  color: black;
}

.notes {
  position: absolute;
  z-index: 10;
  height: 100%;
}

.notesIndexes {
  width: 60%;
  min-width: 200px;
  max-width: 420px;
}

.notesNotes {
  width: 90%;
  max-width: 520px;
}

.notesContent {
  margin: auto;
  overflow-x: hidden;
}

.notesItem {
  width: 90%;
  margin: 8px 5%;
  user-select: none;
}

.noteBookmark {
  cursor: pointer;
}

.notesActions {
  position: absolute;
  right: 4px;
  top: 20px;

  i {
    font-size: 1.2rem;
    margin-left: 8px;
  }
}

.notesText {
  font-size: 1rem;
  line-height: 1.2rem;
  padding-left: 4px;
  word-break: break-all;
  cursor: pointer;
}

.notesAnnotation {
  font-size: 0.9rem;
  line-height: 1rem;
  padding-left: 12px;
  padding-top: 4px;
  word-break: break-all;
}

.viewer {
  position: absolute;
  z-index: 1;
  width: calc(100vw - 2rem);
  margin-left: 1rem;
  height: calc(100% - 1rem);
  left: 0;
}

.pageCtr {
}
.pageCtr:focus {
  outline: none;
}
.pageCtrPre {
  z-index: 3;
  position: absolute;
  left: 0;
  top: 0;
  width: calc(1rem + 25px);
  height: 100%;
}

.pageCtrNext {
  z-index: 3;
  position: absolute;
  right: 0;
  top: 0;
  width: calc(1rem + 25px);
  height: 100%;
}

.pageCtrSlider {
  z-index: 3;
  position: absolute;
  left: 10%;
  bottom: 1em;
  width: 80%;
}

.tools {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.toolsBg {
  position: relative;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.toolsMenu {
  position: absolute;
  z-index: 5;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background: rgba(#fff, 1);

  >i {
    margin: 0.5rem;
    font-size: 1.5rem;
  }
}

.menuThemeItem {
  text-align: center;
  font-size: 20px;
  width: 84px;
  height: 60px;
  line-height: 64px;
  margin: 4px;
  text-decoration-line: underline;
  text-underline-offset: 8px;
  border-radius: 4px;
  border: 1px solid;
  cursor: pointer;
}
